/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package graphics.support;

import java.util.EventListener;
import javax.swing.JToggleButton;

/**
 *
 * @author asus
 */
public class ChildrenGraphActionListener implements EventListener {

    JToggleButton jtogglebutton;

    public void setButton(JToggleButton button) {
        this.jtogglebutton = button;

    }

    public void onChildevent(ChildEvent e) {
        this.jtogglebutton.setSelected(false);

    }

}
